package pso.velocity;

public class RandomInertiaWeightVelocityUpdateStrategy extends
		AbstractInertiaWeightVelocityUpdateStrategy {

	/**
	 * w = 0.5 + rand()/2
	 * 
	 * @return
	 */
	@Override
	public double getInertiaWeight() {
		return 0.5 + (getRandomGenerator().nextDouble() / 2);
	}
}
